package Animal;

public class Test {
    public static void main(String[] args) {
        Animal animal1=new dog("小狗");
        Animal animal2=new Bird("小鸟");
        animal1.eat();
        animal2.eat();
        animal1.act();
        animal2.act();
    }
}
